<template>
    <!--今日更新、今日预警 - 文章列表 -->
    <view>
        <!-- 文章列表 -->
        <list></list>
        <!-- 长按文章的扩展功能 -->
		<article-extend></article-extend>
    </view>
</template>

<script>

    import list from './list2'

    export default {
        components: {
           list 
        },
        onLoad(option) {
            uni.setNavigationBarTitle({
                title: option.title
            });
        },
        onReady() {
            this.getUpdateList()
        },
        methods: {
            // 获取今日更新列表
            getUpdateList() {
                this.$http({
                    url: this.$api.attention.todaylist
                }).then( res => {
                    if(res.code == 0) {

                    }
                })
            },
        }
    }
</script>

<style lang="scss" scoped>

</style>